package com.love_weinuo.bean;

import java.util.List;

/**
 * Created by Administrator on 2019/3/23.
 */

public class EarCallbackBean {
    /**
     * errcode : 0
     * msg : success
     * result : {"res":[{"money":"200.00","addtime":"2019-03-23 14:32:07","name":"5c94a83ba3cdd","pid":25,"id":1,"userid":26},{"money":"100.00","addtime":"2019-03-23 14:53:34","name":"5c94a83ba3cdd","pid":25,"id":2,"userid":26}]}
     */
    private int errcode;
    private String msg;
    private ResultEntity result;

    public void setErrcode(int errcode) {
        this.errcode = errcode;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public void setResult(ResultEntity result) {
        this.result = result;
    }

    public int getErrcode() {
        return errcode;
    }

    public String getMsg() {
        return msg;
    }

    public ResultEntity getResult() {
        return result;
    }

    public class ResultEntity {
        /**
         * res : [{"money":"200.00","addtime":"2019-03-23 14:32:07","name":"5c94a83ba3cdd","pid":25,"id":1,"userid":26},{"money":"100.00","addtime":"2019-03-23 14:53:34","name":"5c94a83ba3cdd","pid":25,"id":2,"userid":26}]
         */
        private List<ResEntity> res;

        public void setRes(List<ResEntity> res) {
            this.res = res;
        }

        public List<ResEntity> getRes() {
            return res;
        }

        public class ResEntity {
            /**
             * money : 200.00
             * addtime : 2019-03-23 14:32:07
             * name : 5c94a83ba3cdd
             * pid : 25
             * id : 1
             * userid : 26
             */
            private String money;
            private String addtime;
            private String name;
            private int pid;
            private int id;
            private int userid;

            public void setMoney(String money) {
                this.money = money;
            }

            public void setAddtime(String addtime) {
                this.addtime = addtime;
            }

            public void setName(String name) {
                this.name = name;
            }

            public void setPid(int pid) {
                this.pid = pid;
            }

            public void setId(int id) {
                this.id = id;
            }

            public void setUserid(int userid) {
                this.userid = userid;
            }

            public String getMoney() {
                return money;
            }

            public String getAddtime() {
                return addtime;
            }

            public String getName() {
                return name;
            }

            public int getPid() {
                return pid;
            }

            public int getId() {
                return id;
            }

            public int getUserid() {
                return userid;
            }
        }
    }
}
